#include "SGDServer.h"
#include <Eigen/Eigen>

int main(int argc, char* argv[])
{
    ps::Start(0);

    std::shared_ptr<ps::tensorflow::SGDServer<float>> server;
    std::shared_ptr<ps::KVWorker<float>> worker;

    if (ps::IsServer()){
        LOG(INFO) << "is server";
        server = std::make_shared<ps::tensorflow::SGDServer<float>>(0, "./parameters.db");
    }else if (ps::IsScheduler()){
        std::cerr << "is scheduler" << std::endl;
    }else{
        std::cerr << "is not server" << std::endl;
    }

    ps::Finalize(0, true);
    return 0;
}
